package com.zwr.sheller.core.common;

/**
 * @Author: 18032
 * @Date: 14:40 2022/1/5
 */
public enum  WQQExceptionCode {
    UNKNOWN_EXCEPTION("5000", "未知异常"),
    NO_TOKEN("5001","未携带token"),
    WRONG_PHONE_OR_PWD("5002","账号或密码错误"),
    TIMEOUT_PHONE("5003","请求超时"),
    NO_STORE("5004","未绑定商户,请完善商户信息"),
    UPDATE_FALSE("5005","修改失败"),
    DELETE_FAILED("5006","删除失败"),
    ADD_FAILED("5007","添加失败"),
    NO_MSGCODE("5008","未收到验证码"),
    FAIL_CODE("5009","校验失败"),
    NO_USER("5010","未找到该用户"),
    WRONG_TOKEN("5011","token验证失败"),
    WRONG_CODE("5012","验证码错误或已过期"),
    UPDATE_FAILED("5013","修改失败,请重新输入修改密码"),
    FAILED_SELECT_STORE("5014","未查询到店铺信息"),
    NO_NAVIDATA("5015","未查询到导航栏数据"),
    NO_ITEM("5016","未查询到该分类!"),
    NO_GOOD("5017","未查询到商品"),
    USER_PHONE("5018","该用户手机已被注册"),
    INSERT_FAILED("5019","添加失败"),
    WRONG_CHOOSE("5020","请输入正确的选择"),
    NO_FIELD("5021","未查询到分类"),
    WRONG_RANKID("5022","错误类型"),
    WRONG_PRICE("5023","请输入正确的价格!"),
    ;

    private String code;
    private String message;

    WQQExceptionCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
